package com.example.score.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;

@TableName("exam")
public class Exam {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String subject;
    private LocalDateTime examTime;
    private Integer status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    // getter 和 setter
    // ... 省略
} 